package org.example.constant;

public interface SeckillConstants {
    // 秒杀活动状态
    public static final int STATUS_NOT_START = 1;  // 未开始
    public static final int STATUS_ACTIVE = 2;     // 进行中
    public static final int STATUS_ENDED = 3;      // 已结束
    public static final int STATUS_OFFLINE = 4;    // 已下架

    // 秒杀订单状态
    public static final int ORDER_STATUS_PENDING = 1;  // 待支付
    public static final int ORDER_STATUS_PAID = 2;     // 已支付
    public static final int ORDER_STATUS_CANCELLED = 3; // 已取消

    // 秒杀成功记录状态
    public static final int SUCCESS_STATUS_VALID = 1;   // 有效
    public static final int SUCCESS_STATUS_INVALID = 2; // 无效
}